package com.mdd.admin.validate;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@ApiModel("基础配置创建参数")
public class LegalConfigSettingCreateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "configName参数缺失")
    @ApiModelProperty(value = "配置项名称")
    private String configName;

    @NotNull(message = "code参数缺失")
    @ApiModelProperty(value = "")
    private String code;

    @NotNull(message = "configParams参数缺失")
    @ApiModelProperty(value = "配置项参数")
    private String configParams;

    @NotNull(message = "configType参数缺失")
    @ApiModelProperty(value = "配置类型：1基础配置 4支付配置")
    private Integer configType;

}
